package com.shallowUniverse.process.annotation;

import java.lang.annotation.*;

/**
 * @author gs
 * @date create in 2020/12/18 7:46
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ProcessEntry {
    /**
     * description: 主键字段 <br/>
     * author: Shuai Guo   <br/>
     * date: 2021/7/13 <br/>
     * params: [] <br/>
     * return: java.lang.String <br/>
     * version: 1.0
     */
    String primaryKey() default "";

    /**
     * description: 主键是否驼峰 <br/>
     * author: Shuai Guo   <br/>
     * date: 2021/7/29 <br/>
     * params: [] <br/>
     * return: boolean <br/>
     * version: 1.0       
     */
    boolean underscoreToCamelCase() default false;

    /**
     * description: 流程字段 <br/>
     * author: Shuai Guo   <br/>
     * date: 2021/7/13 <br/>
     * params: [] <br/>
     * return: java.lang.String <br/>
     * version: 1.0
     */
    String processField() default "";
}
